package com.ztesoft.web.baseconfig.db.po;

import java.util.Date;
import java.util.List;

import org.apache.commons.lang.StringUtils;

import com.ztesoft.framework.dto.AbstractDto;

public class DmPlanPO extends AbstractDto {
	private Integer dmPlanId;
	private Integer seqNbr;
	private String planName;
	private String planDesc;
	private Date effDate;
	private Date expDate;
	private Date createDate;
	private String state;
	private Date stateDate;
	private Integer sourceType;
	private Integer targetType;
	private String execType;
	private String execFrequency;
	private Integer operType;
	private String cycleType;
	private Integer cycleDay;
	private String needCheck;
	private String startTime;
	private Date nextScheduleTime;
	private String specialDay;
	private String[] specialDays;
	private Integer staffId;
	private Integer nodeId;
	private Integer tableAnalyseFlag;
	private Integer indexAnalyseFlag;

	private Integer groupNbr;

	private String strategyName;
	// 策略ID
	private Integer dmStrategyId;
	// 源数据ID
	private Integer sourceDataId;
	// 目标数据ID
	private Integer targetDataId;

	private String srcTableName;
	private String targetTableName;

	private Integer dbLinkId;
	private String dbUserName;
	private String tableName;
	private Object[] srcTableN;
	private Object[] targetTableN;
	private List<String> sourceData;
	private List<String> targetData;

	// 源数据对象
	private DmSrcTablePO dmSrcTablePO;
	// 目标数据对象
	private DmTargetTablePO dmTargetTablePO;
	// 是否是编辑状态，前台传后台，0-新增，1-编辑
	private Integer isEdit = 0;

	private Integer isChange;
	private Date sysDate;

	public Date getSysDate() {
		return sysDate;
	}

	public void setSysDate(Date sysDate) {
		this.sysDate = sysDate;
	}

	public Integer getIsChange() {
		return isChange;
	}

	public void setIsChange(Integer isChange) {
		this.isChange = isChange;
	}

	public Integer getIsEdit() {
		return isEdit;
	}

	public void setIsEdit(Integer isEdit) {
		this.isEdit = isEdit;
	}

	public Integer getDmStrategyId() {
		return dmStrategyId;
	}

	public void setDmStrategyId(Integer dmStrategyId) {
		this.dmStrategyId = dmStrategyId;
	}

	public Integer getTargetDataId() {
		return targetDataId;
	}

	public void setTargetDataId(Integer targetDataId) {
		this.targetDataId = targetDataId;
	}

	public DmTargetTablePO getDmTargetTablePO() {
		return dmTargetTablePO;
	}

	public void setDmTargetTablePO(DmTargetTablePO dmTargetTablePO) {
		this.dmTargetTablePO = dmTargetTablePO;
	}

	public DmSrcTablePO getDmSrcTablePO() {
		return dmSrcTablePO;
	}

	public void setDmSrcTablePO(DmSrcTablePO dmSrcTablePO) {
		this.dmSrcTablePO = dmSrcTablePO;
	}

	public List<String> getSourceData() {
		return sourceData;
	}

	public void setSourceData(List<String> sourceData) {
		this.sourceData = sourceData;
	}

	public List<String> getTargetData() {
		return targetData;
	}

	public void setTargetData(List<String> targetData) {
		this.targetData = targetData;
	}

	public Object[] getSrcTableN() {
		return srcTableN;
	}

	public void setSrcTableN(Object[] srcTableN) {
		this.srcTableN = srcTableN;
	}

	public Object[] getTargetTableN() {
		return targetTableN;
	}

	public void setTargetTableN(Object[] targetTableN) {
		this.targetTableN = targetTableN;
	}

	public String getStrategyName() {
		return strategyName;
	}

	public void setStrategyName(String strategyName) {
		this.strategyName = strategyName;
	}

	public Integer getSourceDataId() {
		return sourceDataId;
	}

	public void setSourceDataId(Integer sourceDataId) {
		this.sourceDataId = sourceDataId;
	}

	public String getSrcTableName() {
		return srcTableName;
	}

	public void setSrcTableName(String srcTableName) {
		this.srcTableName = srcTableName;
	}

	public String getTargetTableName() {
		return targetTableName;
	}

	public void setTargetTableName(String targetTableName) {
		this.targetTableName = targetTableName;
	}

	public Integer getDbLinkId() {
		return dbLinkId;
	}

	public void setDbLinkId(Integer dbLinkId) {
		this.dbLinkId = dbLinkId;
	}

	public String getDbUserName() {
		return dbUserName;
	}

	public void setDbUserName(String dbUserName) {
		this.dbUserName = dbUserName;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public Integer getDmPlanId() {
		return dmPlanId;
	}

	public void setDmPlanId(Integer dmPlanId) {
		this.dmPlanId = dmPlanId;
	}

	public Integer getSeqNbr() {
		return seqNbr;
	}

	public void setSeqNbr(Integer seqNbr) {
		this.seqNbr = seqNbr;
	}

	public String getPlanName() {
		return StringUtils.isBlank(planName) ? planName : planName.trim();
	}

	public void setPlanName(String planName) {
		this.planName = planName;
	}

	public String getPlanDesc() {
		return StringUtils.isBlank(planDesc) ? planDesc : planDesc.trim();
	}

	public void setPlanDesc(String planDesc) {
		this.planDesc = planDesc;
	}

	public String getState() {
		return StringUtils.isBlank(state) ? state : state.trim();
	}

	public void setState(String state) {
		this.state = state;
	}

	public Integer getSourceType() {
		return sourceType;
	}

	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}

	public Integer getTargetType() {
		return targetType;
	}

	public void setTargetType(Integer targetType) {
		this.targetType = targetType;
	}

	public String getExecType() {
		return execType;
	}

	public void setExecType(String execType) {
		this.execType = execType;
	}

	public String getExecFrequency() {
		return StringUtils.isBlank(execFrequency) ? execFrequency : execFrequency.trim();
	}

	public void setExecFrequency(String execFrequency) {
		this.execFrequency = execFrequency;
	}

	public Integer getOperType() {
		return operType;
	}

	public void setOperType(Integer operType) {
		this.operType = operType;
	}

	public String getCycleType() {
		return StringUtils.isBlank(cycleType) ? cycleType : cycleType.trim();
	}

	public void setCycleType(String cycleType) {
		this.cycleType = cycleType;
	}

	public Integer getCycleDay() {
		return cycleDay;
	}

	public void setCycleDay(Integer cycleDay) {
		this.cycleDay = cycleDay;
	}

	public String getNeedCheck() {
		return StringUtils.isBlank(needCheck) ? needCheck : needCheck.trim();
	}

	public void setNeedCheck(String needCheck) {
		this.needCheck = needCheck;
	}

	public String getStartTime() {
		return StringUtils.isBlank(startTime) ? startTime : startTime.trim();
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getSpecialDay() {
		return StringUtils.isBlank(specialDay) ? specialDay : specialDay.trim();
	}

	public void setSpecialDay(String specialDay) {
		this.specialDay = specialDay;
	}

	public String[] getSpecialDays() {
		return specialDays;
	}

	public void setSpecialDays(String[] specialDays) {
		this.specialDays = specialDays;
	}

	public Integer getStaffId() {
		return staffId;
	}

	public void setStaffId(Integer staffId) {
		this.staffId = staffId;
	}

	public Integer getNodeId() {
		return nodeId;
	}

	public void setNodeId(Integer nodeId) {
		this.nodeId = nodeId;
	}

	public Integer getTableAnalyseFlag() {
		return tableAnalyseFlag;
	}

	public void setTableAnalyseFlag(Integer tableAnalyseFlag) {
		this.tableAnalyseFlag = tableAnalyseFlag;
	}

	public Integer getIndexAnalyseFlag() {
		return indexAnalyseFlag;
	}

	public void setIndexAnalyseFlag(Integer indexAnalyseFlag) {
		this.indexAnalyseFlag = indexAnalyseFlag;
	}

	public Date getEffDate() {
		return effDate;
	}

	public void setEffDate(Date effDate) {
		this.effDate = effDate;
	}

	public Date getExpDate() {
		return expDate;
	}

	public void setExpDate(Date expDate) {
		this.expDate = expDate;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getStateDate() {
		return stateDate;
	}

	public void setStateDate(Date stateDate) {
		this.stateDate = stateDate;
	}

	public Date getNextScheduleTime() {
		return nextScheduleTime;
	}

	public void setNextScheduleTime(Date nextScheduleTime) {
		this.nextScheduleTime = nextScheduleTime;
	}

	public Integer getGroupNbr() {
		return groupNbr;
	}

	public void setGroupNbr(Integer groupNbr) {
		this.groupNbr = groupNbr;
	}
}